import 'package:flutter/material.dart';

import '../../public/LoadLayoutPage.dart';
import '../../public/empty_widget.dart';
import '../base/base.dart';

class ProjectsListPage extends BaseStatefulWidget {
  const ProjectsListPage({Key? key}) : super(key: key);

  @override
  _ProjectsListPageState createState() => _ProjectsListPageState();
}

class _ProjectsListPageState extends BaseStatefulWidgetState<ProjectsListPage>
    with AutomaticKeepAliveClientMixin {
  @override
  bool get wantKeepAlive => true;

  @override
  void initState() {
    super.initState();
    updateEmptyPage(tipTitle: "暫無數據");
    updateState(LoadState.empty);
    setState(() {
      scaffoldBackColor = Colors.white;
    });
    // loadMessage();
  }

  @override
  Widget build(BuildContext context) {
    return const EmptyWidget(emptyText: '暂無數據',);
  }
}
